gdkdisplay-win32.c: Don't call ReleaseDC() unnecessarily
authorChun-wei Fan <fanchunwei@src.gnome.org>
Mon, 19 Jul 2021 09:13:53 +0000 (17:13 +0800)
committerBenjamin Otte <otte@redhat.com>
Thu, 22 Jul 2021 14:28:16 +0000 (16:28 +0200)
commit4b12dc65473b29f7d90d6a7562a8ef219af8469f
treeb565a19e3ea85fc92f64fecbf3d44b333ab3383b
parentbd69d7e23f5086a7191cacdefd22367bb8169e7d
gdkdisplay-win32.c: Don't call ReleaseDC() unnecessarily

The dummy Win32 window that we use to capture display change events and
to create dummy WGL contexts was created with CS_OWNDC, so we really do
not need to (and should not) call ReleaseDC() on the HDC that we
obtained from it, so drop these calls.
gdk/win32/gdkdisplay-win32.c